<?php

$host = "127.0.0.1";
$username = "root";
$password = "";
$base = "apprendre";
$connexion = mysql_connect($host, $username, $password) or die("Erreur de connexion à la base de donnée");
mysql_select_db($base, $connexion);
mysql_query("SET NAMES 'utf8'");
?>
